﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="report_salary.aspx.cs" Inherits="reports_report_salary" %>
<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Report min and max salary</title>
   <link rel="stylesheet" href="../styles/jquery.autocomplete.css" type="text/css" />
    <link type="text/css" href="../css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
    <script src="../js/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>

   <link href="../styles/style.css" rel="stylesheet" type="text/css" />   
    <script type="text/javascript">
            $(function() {
                $("input[id$=txtFrom]").datepicker({
                    yearRange: "-2:+0",
                    dateFormat: 'dd/mm/yy',
                    changeMonth: true,
                    changeYear: true
                });
                $("input[id$=txtTo]").datepicker({
                    yearRange: "-2:+0",
                    dateFormat: 'dd/mm/yy',
                    changeMonth: true,
                    changeYear: true
                });  
                
            });

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <div class="wrapper">
      
       <div id="header">
		<h1 class="logo">
        <a href="../index.aspx">
        	<img src="../images/logo.png" width="280" height="46" border="0" /></a>
        
        </h1>
        <div class="login_zone" >
            Username:<asp:Literal ID="lUsername" Text="" runat="server" />
            <br />
             <asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" 
                    onclick="lnkLogout_Click" /> | <a href="../login/change_pass.aspx">Change password</a>
            </div>
        </div>
     <div class="clear"></div>
     <div id="nav">
     
      <div style="margin-bottom:20px;width:310px;float:left; height: 32px;">
              <ul class="breadcrumb">
        <li>
            <a href="../index.aspx" title="Home">
         
                 <img src="../images/home.png" width="24" height="23" border="0" align="left" style="margin-top:2px;" class="home" />
      
            </a>
              
            </li>
            <li>
            <a href="../index.aspx"   title="homepage">
                Homepage
                </a>
            </li>
        <li>
            
                Report Salary
            
       </li>
      
     </ul>
     </div>
        </div>
        <div class="main_content2">
         <div style="height: 83px; width: 900px;float:left;">
            <img src="../images/rpt_salary.jpg" 
                  style="height: 76px; width: 900px;margin-top:-8px;" />
        </div>
        <table align="center" cellpadding="0" cellspacing="0"  style="margin-top:20px;padding:0;border:1px solid #C1DAD7;">
           			
                    	<tr>
                 		    <th align="left">&nbsp;from : 
                                <asp:TextBox ID="txtFrom" runat="server" 
                    CssClass="box2" Width="90px" TabIndex="7" ></asp:TextBox>
                    
                                </th>
                 		    <th align="left">To : 
                                <asp:TextBox ID="txtTo" runat="server" 
                    CssClass="box2" Width="90px" TabIndex="7"></asp:TextBox>
                    
                                &nbsp;</th>
                 		    <th align="left">&nbsp;<asp:Button ID="btnView" runat="server" 
                                    Text="View" CssClass="button white" onclick="btnView_Click"  />
                          
                             
                            </th>
                        
                   	</tr>
           			
                    	</table>
         <br /><br />
            <div>
                <table width="90%">
                    <tr>
                        <td style="font-size:20px;font-weight:bold;font-family:Arial;">
                            VND</td>
                        <td style="font-size:20px;font-weight:bold;font-family:Arial;">
                            USD</td>
                        
                    </tr>
                    <tr>
                        <td >
                            <asp:Chart ID="chartSalaryVND" runat="server" Width="342px" 
                    BorderlineColor="Transparent" EnableTheming="True" ImageType="Jpeg" 
                      >
                    <series>
                        <asp:Series Name="Series1">
                            
                            
                        </asp:Series>
                    </series>
                    <chartareas>
                        <asp:ChartArea Name="ChartArea1">
                        </asp:ChartArea>
                    </chartareas>
                </asp:Chart>
                        </td>
                        <td>
                          <asp:Chart ID="chartSalaryUSD" runat="server" Width="342px" BorderlineColor="Gainsboro" 
                      >
                    <series>
                        <asp:Series Name="Series1">
                            
                            
                        </asp:Series>
                    </series>
                    <chartareas>
                        <asp:ChartArea Name="ChartArea1">
                        </asp:ChartArea>
                    </chartareas>
                </asp:Chart>
                        </td>
                        
                    </tr>
                </table>
                
              
            </div>
            <div style="clear:both;height:30px;margin-bottom:10px;height:auto; ">
             <div style="float:left;height:229px; margin-top:10px;line-height:140%;text-align:left;margin-left:0 auto; width: 900px;">
                 
 <table class="dgTongHopChung2" width="600" align="center">
                    <tr>
                        <td align="left" style="background:#cecece;">
                        
                        
                            &nbsp;</td>
                        <td align="center" style="background:#cecece;">
                        
                            &nbsp;VNĐ</td>
                        <td align="center" style="background:#cecece;">
                        
                            Số records</td>
                        <td align="center" style="background:#cecece;">
                        
                            USD</td>
                        <td align="center" style="background:#cecece;">
                        
                            Số records</td>
                    </tr>
                    <tr>
                        <td align="left">
                        
                        
                    <img src="../images/bullet.png" border ="0" /> Thấp nhất</td>
                        <td align="center">
                        
                       <asp:Literal ID="ltMinVND" runat="server" ></asp:Literal>
                        
                        </td>
                        <td align="center">
                        
                       <asp:Literal ID="ltNumMinVND" runat="server"></asp:Literal>
                        
                        </td>
                        <td align="center">
                        
                       <asp:Literal ID="ltMinUSD" runat="server"></asp:Literal>
                        
                        </td>
                        <td align="center">
                        
                        <asp:Literal ID="ltNumMinUSD" runat="server"></asp:Literal>
                        
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                        
                        
                    <img src="../images/bullet.png" border ="0" /> Cao nhất</td>
                        <td align="center">
                        
                       <asp:Literal ID="ltMaxVND" runat="server"></asp:Literal>
                        
                        </td>
                        <td align="center">
                        
                       <asp:Literal ID="ltNumMaxVND" runat="server"></asp:Literal>
                        
                        </td>
                        <td align="center">
                              <asp:Literal ID="ltMaxUSD" runat="server"></asp:Literal>
                            </td>
                        <td align="center">
                        
                       <asp:Literal ID="ltNumMaxUSD" runat="server"></asp:Literal>
                        
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                        
                        
                    <img src="../images/bullet.png" border ="0" /> Total records:</td>
                        <td colspan="4" align="right">
                       <div style="width:200px;margin-right:50px;"> 
                       <asp:Literal ID="ltTotalItems" runat="server"></asp:Literal>
                       </div> 
                        
                        </td>
                    </tr>
                    </table>
                    
                 
                    &nbsp;<br />
                    &nbsp;<br />
                    &nbsp;<br />
                    &nbsp;<br />
                    &nbsp;<br />
                    </div>
               <div style="clear:both;">
               
                    &nbsp;<CR:CrystalReportViewer ID="rptView" runat="server" AutoDataBind="true" 
                        DisplayToolbar="False" />
               </div>    
                   
           </div>
        
       
        </div>
        <div id="footer" style="float:right;">
        	<p>
            	IT Dev 2011   
            	<br />
                Version beta
                
                
            </p>
        
        </div>
        
	</div>    
    </div>
    </form>
</body>
</html>

